package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.DishDto;
import com.itheima.reggie.entity.Category;
import com.itheima.reggie.entity.Dish;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
@Transactional
public interface DishService extends IService<Dish> {

    void saveDish(DishDto dishDto);

    DishDto selectDish(Long id);

    void updateCai(DishDto dishDto);

    void delectCai(List<Long> ids);

    void sellAndNotSell(Integer status, List<Long> ids);
}
